<%@page contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li class="line">line</li>
			<li><a class="add" href="${ctx}/role/add?navtabid=${navtabid}" target="dialog"><span>添加角色</span></a></li>
			<li class="line">line</li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th width="40"><input type="checkbox" class="checkboxCtrl"
					group="c1" /></th>
				<th width="100">角色名</th>
				<th width="80">描述</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach var="item" items="${list}" varStatus="menu">
				<tr target="select_id" rel="${item.id}">
					<td><input type="checkbox" name="c1" value="${item.id}" /></td>
					<td>${item.name}</td>
					<td>${item.description}</td>
					<td>
					<a  class="btnDel" href="${ctx}/role/delete/${item.id}?navtabid=${navtabid}"
						target="ajaxTodo" title="确定要删除吗?删除角色同时会删除角色对应用户及菜单" title="删除" >删除角色</a>
					</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
</div>
